home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _34DFF13005F44AE39E29AC72D49E033F < prev    next >
Encoding:
Text File  |  2006-08-04  |  986 b   |  32 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_PerspectiveTransform():
  13.     return {
  14.         'CropImage': False, 
  15.         'GridLines': 0, 
  16.         'Handle1': (0.173584,0.106445), 
  17.         'Handle2': (0.896729,0.131185), 
  18.         'Handle3': (0.917236,0.845378), 
  19.         'Handle4': (0.117432,0.802409), 
  20.         'BackgroundMaterial': None, 
  21.         'ForegroundMaterial': None, 
  22.         'GeneralSettings': {
  23.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  24.             'AutoActionMode': App.Constants.AutoActionMode.Match
  25.             }
  26.         }
  27.  
  28. def Do(Environment):
  29.     # PerspectiveCorrection
  30.     App.Do( Environment, 'PerspectiveTransform',         Preset_PerspectiveTransform())
  31.  
  32.